#include "func.h"
#include <stdio.h>

#include <iostream>

using std::cout;
using std::endl;


void test(){

    int num = 0x12345678;
    char *p = (char *)&num;
    if(*p == 0x78){ //低地址对应低字节
        printf("little \n");
    }else{
        printf("big \n");
    }
    return;
}

int main()
{
    

    test ();
    return 0;
}

